﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, DesignerCategory("code"), XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class NTPInformation
    {
        private XmlAttribute[] anyAttrField;
        private NTPInformationExtension extensionField;
        private bool fromDHCPField;
        private NetworkHost[] nTPFromDHCPField;
        private NetworkHost[] nTPManualField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public NTPInformationExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public bool FromDHCP
        {
            get
            {
                return this.fromDHCPField;
            }
            set
            {
                this.fromDHCPField = value;
            }
        }

        [XmlElement("NTPFromDHCP", Order=1)]
        public NetworkHost[] NTPFromDHCP
        {
            get
            {
                return this.nTPFromDHCPField;
            }
            set
            {
                this.nTPFromDHCPField = value;
            }
        }

        [XmlElement("NTPManual", Order=2)]
        public NetworkHost[] NTPManual
        {
            get
            {
                return this.nTPManualField;
            }
            set
            {
                this.nTPManualField = value;
            }
        }
    }
}

